package Test01;
//键盘录入一个三位数，获取其中的个位、十位、百位

import java.util.Scanner;

public class test02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        int ge = number % 10;
        int shi = number / 10 % 10;
        int bai = number / 100 % 10;
        System.out.println("个位为：" + ge);
        System.out.println("十位为：" + shi);
        System.out.println("百位为：" + bai);
    }
}
